#include "app_device.h"
#include "unistd.h"
#include "app_bt.h"
int main(int argc, char const *argv[])
{
    //初始化模块
    Device *device = app_device_init("serial_test");
    //初始化蓝牙模块
    app_bt_init(device);

    //启动模块
    app_device_start();

    //主线程休眠，让分线程有机会的时间运行
    sleep(100);

    //销毁模块
    app_device_destroy();
    return 0;
}
